<?php 
class Front_Fax_Generic extends System_Db_Generic  {
	public function getfaxclaimlist($userid){
		$db = Zend_Registry :: get("db");
		$cmd_exec = "exec dbo.sp_elink_Claim_Get_Precert NULL,NULL,NULL,'".$userid."'";
		//echo $cmd_exec; exit();
		$statement = $db->prepare($cmd_exec);
		$statement->execute();
		$results = $statement->fetchAll();
		foreach ($results as $key=>$value){
			$results[$key]['effective'] = getDateFormat2($results[$key]['effective']);	
			$results[$key]['expried'] = getDateFormat2($results[$key]['expried']);
		}
		return $results;
	}
}
?>